package com.eol.entity.po.pay;

import io.swagger.annotations.ApiModel;

import javax.persistence.Id;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * 用户消费记录
 *
 * @author liulinhui
 * @email 1249055292@qq.com
 * @date 2020-05-25 14:26:44
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel("用户消费记录")
public class ZConsumeLog implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @Id
    private String id;

    @ApiModelProperty(value = "类型  1:课程购买 2:会员购买")
    private Integer payType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "渠道方交易ID")
    private String trsId;

    @ApiModelProperty(value = "wx:微信  ali:支付宝")
    private String channelType;

    @ApiModelProperty(value = "1:支付 2:退款")
    private Integer type;

}
